<template>
	<view class="header" v-if="data.dapp!=undefined">
	    <view v-if="data.__platform=='wx'&&data.dapp.is_official_account==1&&data.__is_offical_account">
	        <official-account @error="$emit('relevanceError',$event)" @load="$emit('relevanceSuccess',$event)"></official-account>
	    </view>
	</view>
	
</template>
<script>var myVue = {};
	export default {
		props:['data']
	}
</script>
<style scoped>
	.header-test {
	    width: 100%;
	}
</style>
